Optimal. Leaf size=26 \[ -\frac{\sqrt{a+b x}}{x \sqrt{-a-b x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0033106, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08, Rules used = {23, 30} \[ -\frac{\sqrt{a+b x}}{x \sqrt{-a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 23
Rule 30
Rubi steps
\begin{align*} \int \frac{\sqrt{a+b x}}{x^2 \sqrt{-a-b x}} \, dx &=\frac{\sqrt{a+b x} \int \frac{1}{x^2} \, dx}{\sqrt{-a-b x}}\\ &=-\frac{\sqrt{a+b x}}{x \sqrt{-a-b x}}\\ \end{align*}
Mathematica [A] time = 0.004671, size = 26, normalized size = 1. \[ -\frac{\sqrt{a+b x}}{x \sqrt{-a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 23, normalized size = 0.9 \begin{align*} -{\frac{1}{x}\sqrt{bx+a}{\frac{1}{\sqrt{-bx-a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.81379, size = 4, normalized size = 0.15 \begin{align*} 0 \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.86493, size = 20, normalized size = 0.77 \begin{align*} \frac{i b^{2} \left (\frac{a}{b} + x\right )}{- a^{2} + a b \left (\frac{a}{b} + x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.36119, size = 24, normalized size = 0.92 \begin{align*} \frac{i \,{\left (\frac{b^{2}}{a} + \frac{b}{x}\right )}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]